<template>
  <section class="bg-white lg:pt-20 lg:pb-12 py-9 text-center">
    <div class="lg:text-3xl text-xl font-bold">
      <span class="lg:inline hidden">智慧考勤 · </span>
      幼儿园考勤问题及常用方式
    </div>
    <div class="lg:text-lg text-sm text-gray-66 lg:mt-4 mt-2 mx-5">
      提高出勤率需要及时拿到准确的出勤数据，汇总后对比分析后，找出出勤率低的原因
    </div>
    <div class="lg:mt-14 mt-4 container mx-auto lg:px-24 px-[11px]">
      <el-table
        :data="tableData"
        border
        style="width: 100%"
        header-cell-class-name="!py-4 font-medium !bg-[#F9EAED] !text-gray-33 !text-center lg:text-sm text-xs"
        row-class-name="text-gray-66 lg:text-sm text-xs"
        cell-class-name="lg:!py-4 py-2"
      >
        <el-table-column
          prop="type"
          label="考勤类型"
          align="center"
          min-width="14%"
        >
        </el-table-column>
        <el-table-column
          prop="cost"
          label="部署成本低"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.cost" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
        <el-table-column
          prop="zq"
          label="记录准确"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.zq" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
        <el-table-column
          prop="tg"
          label="快速通过"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.tg" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
        <el-table-column
          prop="fx"
          label="缺勤统计分析"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.fx" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
        <el-table-column
          prop="cq"
          label="自动分析出勤"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.cost" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
        <el-table-column
          prop="tz"
          label="家长考勤通知"
          align="center"
          min-width="14%"
        >
          <template slot-scope="{ row }">
            <img v-if="row.cost" src="@/assets/img/check.png" class="w-6" />
          </template>
        </el-table-column>
      </el-table>
      <div class="text-left">
        <div class="lg:mt-6 mt-4 text-gray-66 lg:text-sm text-xs">
          幼儿园考勤管理的常见问题：
        </div>
        <ul class="mt-3">
          <dot-li red
            >通过效率低：刷脸考勤机，孩子不配合刷脸，读取速度慢；闸机打卡，太高孩子打卡够不到。</dot-li
          >
          <dot-li red class="mt-2"
            >汇总和分析难度大：人工纸质记录造成统计汇总难度大；考勤机中只有原始打卡记录；由于统计难度大，往往每月只能完成一次汇总分析，错过了解决问题的最好时机
            。</dot-li
          >
        </ul>
      </div>
    </div>
    <info-btn class="lg:flex hidden" @click.native="$store.commit('SQ')"
      >免费获取方案</info-btn
    >
  </section>
</template>

<script>
import dotLi from "@/components/dot-li.vue";

export default {
  components: { dotLi },
  data() {
    return {
      tableData: [
        {
          type: "智慧无感考勤 ",
          cost: true,
          zq: true,
          tg: true,
          fx: true,
          cq: true,
          tz: true,
        },
        {
          type: "打卡闸机 ",
          cost: false,
          zq: true,
          tg: true,
          fx: false,
          cq: false,
          tz: false,
        },
        {
          type: "刷脸考勤 ",
          cost: true,
          zq: true,
          tg: false,
          fx: false,
          cq: false,
          tz: false,
        },
        {
          type: "人工考勤",
          cost: true,
          zq: false,
          tg: false,
          fx: false,
          cq: false,
          tz: false,
        },
      ],
    };
  },
};
</script>
